<?php #coding: utf-8 æ ø å ?>
<div class="detaljer">
<? //print_r($element_over_stamdata[0]); ?>
<? //print_r($over[0]); 
		//	echo gettype($over[0]);


foreach($over as $o) {
	//print_r($o);
	//print_r($o);

	//echo "<div class='detalje' id'".$o['over_id']."'>";
echo "<p class='fade-info' id='fade".$o['over_id']."' style='display:none;padding:10px;'>";

	echo $o['navn'].br();
	echo $o['type'].br();
	echo $o['type_spec'].br();
	echo $o['birth'].br();
	echo $o['death'].br();
echo "</p>";
		
//	echo $o['element_data']['type_spec'];
//	echo $o['type'];
}

if($type == "individ")

//print_r($element_data['oplevelser']);
foreach($element_data['oplevelser'] as $op) {
	//print_r($o);
	//print_r($o);
//echo "Oplevelse";
	//echo "<div class='detalje' id'".$o['over_id']."'>";
echo "<p class='fade-info' id='fade".$op['id']."' style='display:none;padding:10px;border:1px solid black;'>";

	echo $op['navn'].br();
	echo $op['type'].br();
	//echo $op['type_spec'].br();
	echo $op['birth'].br();
	echo $op['death'].br();
echo "</p>";
		
//	echo $o['element_data']['type_spec'];
//	echo $o['type'];*/
}

/*foreach($under as $u) {
	//print_r($o);
	//print_r($o);
	//echo "<div class='detalje' id'".$o['over_id']."'>";
	echo $u['under_id']; echo $u['navn'].br();
	//echo $u['type_spec'];
	
//	echo $o['element_data']['type_spec'];
//	echo $o['type'];
}


$antal_medlemmer = 0;
foreach($alle_under as $a) {
//	echo $a['type_spec'];
	if($a['type_spec'] == "individ") {
		$antal_medlemmer = $antal_medlemmer + 1;
	}

}
echo $antal_medlemmer;

*/?>
</div>


<script type="text/javascript">

//$("body").css("background","red");

$(".fade-link").mouseover(function() {
	var id = $(this).attr("id");
	$('.edit').hide();
	$('#fade' + id).show();
	
});
$(".fade-link").mouseout(function() {
	var id = $(this).attr("id");
	$('.edit').show();
	$('#fade' + id).hide();

});

//alert(id);





</script>

